package com.mobilepay.moneypig.response.home;

import com.google.gson.annotations.SerializedName;
import com.mobilepay.moneypig.response.ResponseResult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xlm on 2017/7/29 0029
 */

public class OrderData extends ResponseResult {


    /**
     * data : {"total":144,"per_page":5,"current_page":"1","last_page":29,"data":[{"out_trade_no":"CTH8025272937410D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652729,"update_time":1501652729},{"out_trade_no":"CTH8025272629445D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652726,"update_time":1501652726},{"out_trade_no":"CTH8025272212395D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652722,"update_time":1501652722},{"out_trade_no":"CTH8025263069112D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652630,"update_time":1501652630},{"out_trade_no":"CTH8025262431624D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652624,"update_time":1501652624}]}
     */

    private DataBeanX data;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX implements Serializable{
        /**
         * total : 144
         * per_page : 5
         * current_page : 1
         * last_page : 29
         * data : [{"out_trade_no":"CTH8025272937410D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652729,"update_time":1501652729},{"out_trade_no":"CTH8025272629445D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652726,"update_time":1501652726},{"out_trade_no":"CTH8025272212395D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652722,"update_time":1501652722},{"out_trade_no":"CTH8025263069112D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652630,"update_time":1501652630},{"out_trade_no":"CTH8025262431624D","scene_id":5,"body":"开通vip","uid":1,"trade_no":null,"product_id":0,"pay_type":0,"total_amount":"60.00","pay_amount":"0.00","pay_uid":0,"pay_time":0,"pay_callback_data":null,"extend":null,"status":0,"create_time":1501652624,"update_time":1501652624}]
         */

        private int total;
        private int per_page;
        private String current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable {
            /**
             * out_trade_no : CTH8025272937410D
             * scene_id : 5
             * body : 开通vip
             * uid : 1
             * trade_no : null
             * product_id : 0
             * pay_type : 0
             * total_amount : 60.00
             * pay_amount : 0.00
             * pay_uid : 0
             * pay_time : 0
             * pay_callback_data : null
             * extend : null
             * status : 0
             * create_time : 1501652729
             * update_time : 1501652729
             */

            private String out_trade_no;
            private int scene_id;
            private String body;
            private int uid;
            private Object trade_no;
            private int product_id;
            private int pay_type;
            private String total_amount;
            private String pay_amount;
            private int pay_uid;
            private long pay_time;
            private Object pay_callback_data;
            private Object extend;
            @SerializedName("status")
            private int statusX;
            private long create_time;
            private long update_time;

            public String getOut_trade_no() {
                return out_trade_no;
            }

            public void setOut_trade_no(String out_trade_no) {
                this.out_trade_no = out_trade_no;
            }

            public int getScene_id() {
                return scene_id;
            }

            public void setScene_id(int scene_id) {
                this.scene_id = scene_id;
            }

            public String getBody() {
                return body;
            }

            public void setBody(String body) {
                this.body = body;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public Object getTrade_no() {
                return trade_no;
            }

            public void setTrade_no(Object trade_no) {
                this.trade_no = trade_no;
            }

            public int getProduct_id() {
                return product_id;
            }

            public void setProduct_id(int product_id) {
                this.product_id = product_id;
            }

            public int getPay_type() {
                return pay_type;
            }

            public void setPay_type(int pay_type) {
                this.pay_type = pay_type;
            }

            public String getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(String total_amount) {
                this.total_amount = total_amount;
            }

            public String getPay_amount() {
                return pay_amount;
            }

            public void setPay_amount(String pay_amount) {
                this.pay_amount = pay_amount;
            }

            public int getPay_uid() {
                return pay_uid;
            }

            public void setPay_uid(int pay_uid) {
                this.pay_uid = pay_uid;
            }

            public long getPay_time() {
                return pay_time;
            }

            public void setPay_time(int pay_time) {
                this.pay_time = pay_time;
            }

            public Object getPay_callback_data() {
                return pay_callback_data;
            }

            public void setPay_callback_data(Object pay_callback_data) {
                this.pay_callback_data = pay_callback_data;
            }

            public Object getExtend() {
                return extend;
            }

            public void setExtend(Object extend) {
                this.extend = extend;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(long create_time) {
                this.create_time = create_time;
            }

            public long getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(long update_time) {
                this.update_time = update_time;
            }
        }
    }
}
